package cn.edu.nuc.ssm.dto;

import cn.edu.nuc.ssm.util.MyMath;

/**
 * Created by Administrator on 2017/4/8.
 */
public class SumCaiWuDto {

    private float sumZaiCan;
    private float realZaiCan;
    private float sumFuZai;

    public SumCaiWuDto() {
    }

    public SumCaiWuDto(float sumZaiCan, float sumFuZai) {
        this.sumZaiCan = sumZaiCan;
        this.sumFuZai = sumFuZai;
    }

    public float getSumZaiCan() {
        return sumZaiCan;
    }

    public void setSumZaiCan(float sumZaiCan) {
        this.sumZaiCan = sumZaiCan;
    }

    public float getRealZaiCan() {

        return  MyMath.sub(this.sumZaiCan ,this.sumFuZai);
    }

//    public void setRealZaiCan(float realZaiCan) {
//        this.realZaiCan = realZaiCan;
//    }

    public float getSumFuZai() {
        return sumFuZai;
    }

    public void setSumFuZai(float sumFuZai) {
        this.sumFuZai = sumFuZai;
    }
}
